#!/usr/bin/env python
#-*- coding:utf-8 -*-

'''
Created on 2012-01-15

@author: zhangchong
'''


#/data/log/log/[0-9,a-z]*/[0-9]*[0-9]

import sys
import os
import json
import string
import datetime



def main():
    yesterday = datetime.date.today() - datetime.timedelta(days=1)
    format = "%Y%m%d"
    yesterday = yesterday.strftime("%Y%m%d")
    yesterday = str(yesterday)
    print yesterday
    
    


if __name__ == "__main__":
    main()
    
    
    
    
 
    
    
   


    
    
   
